import Cookies from 'js-cookie'

const TokenKey = 'Admin-Token'
const toKenSID='sid'

export function getToken() {
  return Cookies.get(TokenKey)
}

export function getSID(){
  return Cookies.get(toKenSID)
}

export function setSID(sid){
  return Cookies.set('00000',sid)
}
export function setToken(token) {
  return Cookies.set(TokenKey, token)
}

export function removeToken() {
  return Cookies.remove(TokenKey)
}
